---
title: WorksheetFunction.Fact Method (Excel)
keywords: vbaxl10.chm137144
f1_keywords:
- vbaxl10.chm137144
ms.prod: excel
api_name:
- Excel.WorksheetFunction.Fact
ms.assetid: 088fffd4-6ba9-0151-969e-8e7b71a77e6b
ms.date: 06/08/2017
---


# WorksheetFunction.Fact Method (Excel)

Returns the factorial of a number. The factorial of a number is equal to 1*2*3*...* number.


## Syntax

 _expression_ . **Fact**( **_Arg1_** )

 _expression_ A variable that represents a **WorksheetFunction** object.


### Parameters



|**Name**|**Required/Optional**|**Data Type**|**Description**|
|:-----|:-----|:-----|:-----|
| _Arg1_|Required| **Double**|Number - the nonnegative number you want the factorial of. If number is not an integer, it is truncated.|

### Return Value

Double


## See also


#### Concepts


[WorksheetFunction Object](worksheetfunction-object-excel.md)

